<style>
    table,th,tr,td{
        border: 1px solid;

    }
    tr{
        text-align: center;
    }
    th{
        width: 100px;
    }
    h1{
    position: relative;
    top: 0;
    left: 100px;
    }
</style>
<h1>个人信息数据表</h1>
<table>
    
    <th>序号</th>
    <th>姓名</th>
    <th>年龄</th>
    <th>性别</th>
    <th>班级</th>

    <tr>
        <td>1</td>
        <td>老猪</td>
        <td>20</td>
        <td>男</td>
        <td>4班</td>
    </tr>

        <tr>
        <td>2</td>
        <td>丸子</td>
        <td>21</td>
        <td>女</td>
        <td>3班</td>
    </tr>
</table>